package com.crazy.multids.config.common;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 切换数据源注解
 *
 * @author crazyhu@wezhuiyi.com
 * @date 2018-09-16 17:18
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DynaminDataSource {
    DataSourceEnum value();
}
